#!/usr/bin/env bash

export BUILD_NAME=xiuyu:v1.6
docker build -t "$BUILD_NAME" .
docker stop xiuyu
docker rm xiuyu
docker run -d --name xiuyu -p 9001:9001 "$BUILD_NAME"
echo "======>打包完毕"

